package org.jeecg.modules.demo.hd.vo.usergoods;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
public class userGoodsModelVo implements Serializable {

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "领用时间")
    private Date startTime;

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "截止时间")
    private Date endTime;

    @ApiModelProperty(value = "有效期（天数）")
    private Integer periodDay;

    @ApiModelProperty(value = "状态")
    private String goodsStatus;

    @ApiModelProperty(value = "图片")
    private String goodsImg;

    @ApiModelProperty(value = "每小时收益")
    private Integer profitRatio;
}
